/*
============================================================================
 Name		: Flashbox4Application.h
 Author	  : ceze
 Copyright   : FlashBox for ver.Zhongyou(???)
 Description : Declares main application class.
============================================================================
*/

#ifndef __FLASHBOX4APPLICATION_H__
#define __FLASHBOX4APPLICATION_H__

// INCLUDES
#include <aknapp.h>
#include "Flashbox4.hrh"


// UID for the application;
// this should correspond to the uid defined in the mmp file
const TUid KUidFlashbox4App = { _UID3 };


// CLASS DECLARATION

/**
* CFlashbox4Application application class.
* Provides factory to create concrete document object.
* An instance of CFlashbox4Application is the application part of the
* AVKON application framework for the Flashbox4 example application.
*/
class CFlashbox4Application : public CAknApplication
	{
	public: // Functions from base classes

		/**
		* From CApaApplication, AppDllUid.
		* @return Application's UID (KUidFlashbox4App).
		*/
		TUid AppDllUid() const;

	protected: // Functions from base classes

		/**
		* From CApaApplication, CreateDocumentL.
		* Creates CFlashbox4Document document object. The returned
		* pointer in not owned by the CFlashbox4Application object.
		* @return A pointer to the created document object.
		*/
		CApaDocument* CreateDocumentL();
	};

#endif // __FLASHBOX4APPLICATION_H__

// End of File
